package com.example.fresheveryday.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.fresheveryday.po.Comment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.fresheveryday.po.Product;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ll
 * @since 2023-07-08
 */
public interface CommentService extends IService<Comment> {
    int countByConditions(@Param("ew") Wrapper wrapper);
    IPage<Comment> getCommentByConditions(IPage<Comment> page, @Param("ew") Wrapper wrapper);
    IPage<Comment> getAllComment(IPage<Comment> page);
}
